use "$path\datasets\rd_dataset.dta", clear

keep if number_of_close_elec==1

local depvar "ch_total_child_places_pc"


rdd_plot  `depvar', includedbw(0.15)  control(margin_1) binsize(0.01)  bw(0.10) title("Attendance rates of female councilors") xtitle("Female candidate margin of victory (%)")

graph export FigureA1/figureA1.pdf, replace

